package com.qiuyuliantu.guide.domain;

import java.util.List;
import com.qiuyuliantu.common.annotation.Excel;
import com.qiuyuliantu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 美食菜谱分类对象 guide_cookbook_class
 *
 * @author lmx
 * @date 2025-03-24
 */
public class GuideCookbookClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 美食分类 */
    @Excel(name = "美食分类")
    private String className;

    /** 美食标题 */
    @Excel(name = "美食标题")
    private String tile;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 封面图 */
    @Excel(name = "封面图")
    private String img;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 美食菜谱教程信息 */
    private List<GuideCookbookMethod> guideCookbookMethodList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setTile(String tile)
    {
        this.tile = tile;
    }

    public String getTile()
    {
        return tile;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public List<GuideCookbookMethod> getGuideCookbookMethodList()
    {
        return guideCookbookMethodList;
    }

    public void setGuideCookbookMethodList(List<GuideCookbookMethod> guideCookbookMethodList)
    {
        this.guideCookbookMethodList = guideCookbookMethodList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("tile", getTile())
            .append("url", getUrl())
            .append("img", getImg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("guideCookbookMethodList", getGuideCookbookMethodList())
            .toString();
    }
}
